package com.zhan.ielts.enums;

public enum XmlConfigEnum {
	list("java.util.List");
	private String value;

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	private XmlConfigEnum(String value) {
		this.value = value;
	}

	public static boolean checkExist(String name) {
		for (XmlConfigEnum e : XmlConfigEnum.values()) {
			if (e.getValue().equals(name)) {
				return true;
			}
		}
		return false;
	}
}
